
// js 生成器
exports.javascriptProduce = function(mix) {
    mix.setPublicPath('./')
    .js('resources/javaScript/map.js', 'dist/js/map.js')
    .js('resources/javaScript/map_controls.js', 'dist/js/map_controls.js')
    .js('resources/javaScript/building_detail.js', 'dist/js/building_detail.js')
    .js('resources/javaScript/house_detail.js', 'dist/js/house_detail.js')
    .js('resources/javaScript/index.js', 'dist/js/index.js')
    .js('resources/javaScript/build_index.js', 'dist/js/build_index.js')
    .js('resources/javaScript/serve_index.js', 'dist/js/serve_index.js')
    .js('resources/javaScript/serve_detail.js', 'dist/js/serve_detail.js')
    .js('resources/javaScript/login_new.js', 'dist/js/login_new.js')
    .js('resources/javaScript/login_quick.js', 'dist/js/login_quick.js')
    .js('resources/javaScript/login_password.js', 'dist/js/login_password.js')
    .js('resources/javaScript/register.js', 'dist/js/register.js')
    .js('resources/javaScript/user_index.js', 'dist/js/user_index.js')
    .js('resources/javaScript/user_setting.js', 'dist/js/user_setting.js')
    .js('resources/javaScript/user_house_resources.js', 'dist/js/user_house_resources.js')
    .js('resources/javaScript/user_find_house.js', 'dist/js/user_find_house.js')
    .js('resources/javaScript/user_revise_password.js', 'dist/js/user_revise_password.js')
    .js('resources/javaScript/user_about_us.js', 'dist/js/user_about_us.js')
    .js('resources/javaScript/user_revise_phone1.js', 'dist/js/user_revise_phone1.js')
    .js('resources/javaScript/user_revise_phone2.js', 'dist/js/user_revise_phone2.js')
    .js('resources/javaScript/user_collect.js', 'dist/js/user_collect.js')
    .js('resources/javaScript/user_browsing_history.js', 'dist/js/user_browsing_history.js')
    .js('resources/javaScript/reCommed.js', 'dist/js/reCommed.js')
    .extract(['./resources/vendor/common', './resources/vendor/api', './resources/components/houseDetailList']);
};